package Threadprojects.pro1_matrix;



import java.util.Random;

public class MatrixGenerate {
    public static double[][] generate(int row,int col){
        double[][] rs=new double[row][col];
        Random r=new Random();
        for (int i = 0; i < row; i++) {
            for (int j = 0; j < col; j++) {
                rs[i][j]=r.nextDouble()*10;
            }
        }
        return rs;
    }
}
